/**
 * Created with IntelliJ IDEA.
 * User: Thoughtworker
 * Date: 8/25/13
 * Time: 2:22 PM
 * To change this template use File | Settings | File Templates.
 */
public class PlayerScore {
    private int score;
    private static final int NUMBER_OF_POINTS_NEEDED_TO_MAKE_WINNING_SCORE = 4;

    public void increaseScore() {
        score +=1 ;
    }

    public void processScore() {
        increaseScore();
    }

    public PlayerScore()
    {
        this.score = 0;
    }
    public PlayerScore(int score)
    {
        this.score = score;


    }

    public int getScore() {
        return score;
    }

    public boolean couldDeclareWinner() {
        return score >= NUMBER_OF_POINTS_NEEDED_TO_MAKE_WINNING_SCORE;
    }
}
